package ch.hearc.infrarouge.tools;

import ch.hearc.infrarouge.preferences.Preferences;

public class ConnectionTools {

	public static void setupProxy() {
		if (Preferences.isProxyEnabled) {
			System.setProperty("http.proxyHost", Preferences.HEArcProxyHost);
			System.setProperty("http.proxyPort", Preferences.HEArcProxyPort);
		}
	}

}
